package com.coding.kan_yi_dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 砍一刀，不买就砍你一刀
 * @since 2023-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsLike implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "goods_like_id", type = IdType.AUTO)
    private Integer goodsLikeId;

    /**
     * 关联商品表的id
     */
    private Integer goodsId;

    /**
     * 字段越大越靠前
     */
    private Integer goodsLikeRank;

    /**
     * 点击跳转后的地址默认不跳转
     */
    private String goodsLikeUrl;

    /**
     * 配置项字符
     */
    private String goodsLikeName;

    /**
     * 时间
     */
    private LocalDateTime goodsLikeAddtime;

    /**
     * 删除
     */
    private Integer goodsLikeDelete;

    /**
     * 商品总表
     */
    @TableField(exist = false)
    private GoodsInfo goodsInfo;

}
